package test3_13;

public class Test2_Web {
    public static void main(String[] args) {
        /*
        WebPage类 登录	参数
         */
        WebPage web = new WebPage();


    }

    public static class WebPage{

        String root = "aaa";
        String password = "a123";

        public static void Result(String root,String password){
            if(root.equals("aaa") && password.equals("a123")){
                System.out.println("登录成功");
            }
        }
    }
}
